package cn.shop.admin.service;

import cn.shop.transcation.order.entity.OrderReward;
import cn.shop.transcation.order.entity.OrderRewardQueryReq;
import cn.shop.transcation.withdraw.entity.Withdraw;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface OrderRewardService extends IService<OrderReward> {

    Map<String, Object> listPage(OrderRewardQueryReq req);

    Map<String, Object> statistics(OrderRewardQueryReq req);

    List<OrderReward> queryReward(List<Integer> types);

    void unreward(Withdraw withdraw);
}
